<!DOCTYPE html>
<html>
	<head>
		<meta charset="UTF-8">
		<title></title>
		<script>
//			i:不区分大小写
			var reg = /a/i;
			var str = 'Abcdefg';
			var re = reg.test(str);
			console.log(re);
			
			
			
		</script>
	</head>
	<body>
	</body>
</html>
